﻿@model INNOVACALL.Framework.Common.Models.InvolvedCodeModel
@{
	string activate = "class=\"k-state-active\"";
}
<div class="divCodeFilesTabStrip">
	<ul>
		@foreach (var codeFile in Model)
  {
			 
			<li @Html.Raw(activate)>@codeFile.TabStripName</li>
	  activate = string.Empty;
  }
	</ul>
	@foreach (var codeFile in Model)
 {
	 if (codeFile.SubCodes.Count > 0)
	 {
		<div>
			@Html.Partial("_InvolvedCode", codeFile.SubCodes)		
		</div>	
	 }
	 else
	 { 
		<div class="divCodeFile">
			@Html.Raw(codeFile.TabStripContent)
		</div>	
	 }
 }
</div>
